package com.dashan.backend.datastore;

import javax.jdo.JDOObjectNotFoundException;

import com.google.appengine.api.datastore.Key;

public class FriendGroupDao extends DaoBase {

    public DsFriendGroup getGroup(Key key) {
        try {
            return (DsFriendGroup) pm.getObjectById(DsFriendGroup.class, key);
        } catch (JDOObjectNotFoundException e) {
            return null;
        }
    }
}
